export default {
  path: "/film",
  name: "Film",
  component: () => import("@/views/film/Film.vue"),
  // 子路由 嵌套路由
  children: [
    {
      // /film/nowplaying
      path: "nowplaying",
      component: () => import("@/views/film/NowPlaying"),
    },
    {
      path: "comingsoon",
      component: () => import("@/views/film/ComingSoon"),
    },
    {
      path: "/film",
      redirect: "nowplaying",
    },
  ],
};
